package ModelLayer;

public class OrderDetail {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_order_detail;
    private int id_order;
    private int id_product;
    private int id_product_attribute;
    private String product_name;
    private int product_quantity;
    private int product_quantity_in_stock;
    private int product_quantity_refunded;
    private int product_quantity_return;
    private int product_quantity_reinjected;
    private float product_price;
    private float product_quantity_discount;
    private String product_ean13;
    private String product_reference;
    private String product_supplier_reference;
    private float product_weight;
    private String tax_name;
    private float tax_rate;
    private float ecotax;
    private String download_hash;
    private int download_nb;
    private int download_deadline;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public OrderDetail() {
    }

    public OrderDetail(int id_order_detail, int id_order, int id_product, int id_product_attribute, String product_name, int product_quantity, int product_quantity_in_stock, int product_quantity_refunded, int product_quantity_return, int product_quantity_reinjected, float product_price, float product_quantity_discount, String product_ean13, String product_reference, String product_supplier_reference, float product_weight, String tax_name, float tax_rate, float ecotax, String download_hash, int download_nb, int download_deadline) {
        this.id_order_detail                = id_order_detail;
        this.id_order                       = id_order;
        this.id_product                     = id_product;
        this.id_product_attribute           = id_product_attribute;
        this.product_name                   = product_name;
        this.product_quantity               = product_quantity;
        this.product_quantity_in_stock      = product_quantity_in_stock;
        this.product_quantity_refunded      = product_quantity_refunded;
        this.product_quantity_return        = product_quantity_return;
        this.product_quantity_reinjected    = product_quantity_reinjected;
        this.product_price                  = product_price;
        this.product_quantity_discount      = product_quantity_discount;
        this.product_ean13                  = product_ean13;
        this.product_reference              = product_reference;
        this.product_supplier_reference     = product_supplier_reference;
        this.product_weight                 = product_weight;
        this.tax_name                       = tax_name;
        this.tax_rate                       = tax_rate;
        this.ecotax                         = ecotax;
        this.download_hash                  = download_hash;
        this.download_nb                    = download_nb;
        this.download_deadline              = download_deadline;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDOrderDetail(int id_order_detail) {
        this.id_order_detail = id_order_detail;
    }
    public int getIDOrderDetail() {
        return this.id_order_detail;
    }

    //Set & Get: ID_Order
    public void setIDOrder(int id_order) {
        this.id_order = id_order;
    }
    public int getIDOrder() {
        return this.id_order;
    }

    //Set & Get: ID_Product
    public void setIDProduct(int id_product) {
        this.id_product = id_product;
    }
    public int getIDProduct() {
        return this.id_product;
    }

    //Set & Get: ID_Product_Attribute
    public void setIDProductAttribute(int id_product_attribute) {
        this.id_product_attribute = id_product_attribute;
    }
    public int getIDProductAttribute() {
        return this.id_product_attribute;
    }

    //Set & Get: Product_Name
    public void setProductName(String product_name) {
        this.product_name = product_name;
    }
    public String getProductName() {
        return this.product_name;
    }

    //Set & Get: Product_Quantity
    public void setProductQuantity(int product_quantity) {
        this.product_quantity = product_quantity;
    }
    public int getProductQuantity() {
        return this.product_quantity;
    }

    //Set & Get: Product_Quantity_In_Stock
    public void setProductQuantityInStock(int product_quantity_in_stock) {
        this.product_quantity_in_stock = product_quantity_in_stock;
    }
    public int getProductQuantityInStock() {
        return this.product_quantity_in_stock;
    }

    //Set & Get: Product_Quantity_Refunded
    public void setProductQuantityRefunded(int product_quantity_refunded) {
        this.product_quantity_refunded = product_quantity_refunded;
    }
    public int getProductQuantityRefunded() {
        return this.product_quantity_refunded;
    }

    //Set & Get: Product_Quantity_Return
    public void setProductQuantityReturn(int product_quantity_return) {
        this.product_quantity_return = product_quantity_return;
    }
    public int getProductQuantityReturn() {
        return this.product_quantity_return;
    }

    //Set & Get: Product_Quantity_Reinjected
    public void setProductQuantityReinjected(int product_quantity_reinjected) {
        this.product_quantity_reinjected = product_quantity_reinjected;
    }
    public int getProductQuantityReinjected() {
        return this.product_quantity_reinjected;
    }

    //Set & Get: Product_Price
    public void setProductPrice(float product_price) {
        this.product_price = product_price;
    }
    public float getProductPrice() {
        return this.product_price;
    }

    //Set & Get: Product_Quantity_Discount
    public void setProductQuantityDiscount(float product_quantity_discount) {
        this.product_quantity_discount = product_quantity_discount;
    }
    public float getProductQuantityDiscount() {
        return this.product_quantity_discount;
    }

    //Set & Get: Product_Ean13
    public void setProductEan13(String product_ean13) {
        this.product_ean13 = product_ean13;
    }
    public String getProductEan13() {
        return this.product_ean13;
    }

    //Set & Get: Product_Reference
    public void setProductReference(String product_reference) {
        this.product_reference = product_reference;
    }
    public String getProductReference() {
        return this.product_reference;
    }

    //Set & Get: Product_Supplier_Reference
    public void setProductSupplierReference(String product_supplier_reference) {
        this.product_supplier_reference = product_supplier_reference;
    }
    public String getProductSupplierReference() {
        return this.product_supplier_reference;
    }

    //Set & Get: Product_Weight
    public void setProductWeight(float product_weight) {
        this.product_weight = product_weight;
    }
    public float getProductWeight() {
        return this.product_weight;
    }

    //Set & Get: Tax_Name
    public void setTaxName(String tax_name) {
        this.tax_name = tax_name;
    }
    public String getTaxName() {
        return this.tax_name;
    }

    //Set & Get: Tax_Rate
    public void setTaxRate(float tax_rate) {
        this.tax_rate = tax_rate;
    }
    public float getTaxRate() {
        return this.tax_rate;
    }

    //Set & Get: Ecotax
    public void setEcotax(float ecotax) {
        this.ecotax = ecotax;
    }
    public float getEcotax() {
        return this.ecotax;
    }

    //Set & Get: Download_Hash
    public void setDownloadHash(String download_hash) {
        this.download_hash = download_hash;
    }
    public String getDownloadHash() {
        return this.download_hash;
    }

    //Set & Get: Download_NB
    public void setDownloadNB(int download_nb) {
        this.download_nb = download_nb;
    }
    public int getDownloadNB() {
        return this.download_nb;
    }

    //Set & Get: Download_Deadline
    public void setDownloadDeadline(int download_deadline) {
        this.download_deadline = download_deadline;
    }
    public int getDownloadDeadline() {
        return this.download_deadline;
    }
    // </editor-fold>
}
